package com.djz.stuinfomge.entity;

import java.sql.Timestamp;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

// Fields
private int id;
	private String name;
	private String techerId;
	private Short gender;
	private Timestamp birthday;
	private String password;

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(String name) {
		this.name = name;
	}

	/** full constructor */
	public Teacher(String name, String techerId, Short gender,
			Timestamp birthday, String password) {
		this.name = name;
		this.techerId = techerId;
		this.gender = gender;
		this.birthday = birthday;
		this.password = password;
	}

	// Property accessors

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTecherId() {
		return this.techerId;
	}

	public void setTecherId(String techerId) {
		this.techerId = techerId;
	}

	public Short getGender() {
		return this.gender;
	}

	public void setGender(Short gender) {
		this.gender = gender;
	}

	public Timestamp getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Timestamp birthday) {
		this.birthday = birthday;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
